from django.urls import path

from BusinessSubSystem.controller import receive_form, get_all_fund_field, get_expected_rate, \
    adjust_risk_assets_rate, get_scheme_one, get_scheme_two, get_user_fund_plan

urlpatterns = [
    path("receiveForm",receive_form),
    path("getAllFundFields",get_all_fund_field),
    path("getExpectedRate",get_expected_rate),
    path("adjustRiskAssetsRate",adjust_risk_assets_rate),
    path("getSchemeOne",get_scheme_one),
    path("getSchemeTwo",get_scheme_two),
    path("getUserFundPlan",get_user_fund_plan)
]


print("请等待一下,基金选购模块启动中....")
# 引入定时任务
import BusinessSubSystem.timeService

# 开始就要执行一次的任务
BusinessSubSystem.timeService.inital_fund_list()